﻿using Flame.Reflection;
using System;
using System.Collections.Generic;
using System.Text;

namespace Flame.Dlr
{
    public class NoneExec : IExecutable
    {
        public void AddVariable(Variable variable) { }
        public void ClearScope(ScopeParameters scopeParameters) { }
        public Result Execute(string text) {return new Result() { Data = null };}

        public ResultAssembly AddAssembly(AssemblyWrapper res)
        {
            return new ResultAssembly() { Exception = new FlameException("Cannot add assembly to 'None'"), Loaded = false, Language = GetType() };
        }

        public IIntellisense Intellisense { get { return null; } }
    }
}
